<?php
namespace StarCloud\Library;

use Http\Client\HttpClient;
use Http\Message\MessageFactory;

trait RequestTrait
{
    /**
     * @var HttpClient
     */
    protected $httpClient;

    /**
     * @var MessageFactory
     */
    protected $messageFactory;

    public function __construct(HttpClient $httpClient, MessageFactory $messageFactory)
    {
        $this->httpClient = $httpClient;
        $this->messageFactory = $messageFactory;
    }
}
